﻿///***************************************************************
/// 시  스  템 : Updms.Car.Exe
/// 단위시스템 : CAR
/// 계      층 : Execute Layer (Not Transaction)
/// 프로그램명 : Car2010r_NT
/// 파  일  명 : Car2010r_NT.cs
/// 설      명 : 연비 챠트
///***************************************************************
/// 수정ID 일자       이름     내용
///---------------------------------------------------------------
/// CH001  2008-08-22 송시명   최초 작성
/// CH002  2010-10-22 송시명   월평균연비 추가
///***************************************************************
using System.Data;
using System.EnterpriseServices;
using System.Runtime.InteropServices;

using SMFramework.Data;


namespace Updms.Car.Exe
{
	[ComVisible(true)]
	[Transaction(TransactionOption.NotSupported)]
	[JustInTimeActivation(true)]
	public class Car2010r_NT : Base.AppFramework.RuleBase
	{
		public Car2010r_NT()
		{
		}

		#region GetFuelInfo
		/// <summary>
		/// 주유일별/월평균 주유챠트
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetFuelInfo(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Car_Dac_UPDMS_CAR_REPORT_Car2010r _dac = new Dac.Car_Dac_UPDMS_CAR_REPORT_Car2010r())
			{
				return _dac.GetFuelInfo(lo_dp);
			}
		}
		
		#endregion	
		
		#region GetMonthlyAvgFuelEfficiency
		/// <summary>
		/// 월평균 연비
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetMonthlyAvgFuelEfficiency(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Car_Dac_UPDMS_CAR_REPORT_Car2010r _dac = new Dac.Car_Dac_UPDMS_CAR_REPORT_Car2010r())
			{
				return _dac.GetMonthlyAvgFuelEfficiency(lo_dp);
			}
		}

		#endregion	
		
	}
}
